package com.campus.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 失物信息实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LostItem {
    private Long id;
    private Long userId;
    private String title;
    private String description;
    private String location;
    private LocalDateTime foundTime;
    private String category;
    private Integer status;  // 0-待认领，1-已申领，2-已归还
    private Integer viewCount;
    private Integer likeCount;
    private Integer commentCount;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer isDeleted;  // 0-未删除，1-已删除
}

